home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / Art Department Pro 2.15 d1.adf / Splitz&Joinz / Install-Splitz_Joinz next >
Text File  |  1992-05-12  |  2KB  |  99 lines

  1. ;  This will extract splitz and joinz programs into specified destinations
  2.  
  3. (set todo
  4.     (askoptions
  5.         (prompt
  6.             "Please select the versions of Splitz and Joinz you wish to extract."
  7.         )
  8.         (help
  9.         )
  10.         (choices
  11.             "Amiga Version"
  12.             "PC-DOS Version"
  13.             "PC-Windows Version"
  14.             "Macintosh Version"
  15.         )
  16.     )
  17. )
  18.  
  19. (if (= todo 0)
  20.     (abort "You didn't select anything, so there's nothing to do.")
  21. )
  22.  
  23. (copylib
  24.     (prompt "Copying arp.library to LIBS:")
  25.     (help
  26.         "This library is required to install ADPro.  If you already have a copy of "
  27.         "this library, the library included in this install is an update to the "
  28.         "library you currently have installed.\n\n"
  29.         @copylib-help
  30.     )
  31.     (source "ADPRO2.D1:libs/arp.library")
  32.     (dest "LIBS:")
  33.     (confirm)
  34. )
  35.  
  36. (if (in todo 0)
  37.     (
  38.         (set @default-dest
  39.             (askdir
  40.                 (prompt "Please select the directory you wish to extract the Amiga version of Splitz and Joinz into."
  41.                 )
  42.                 (help @askdir-help)
  43.                 (default "SYS:")
  44.             )
  45.         )
  46.         (set @execute-dir @default-dest)
  47.         (working "Extracting Amiga Splitz and Joinz from Archive into " @default-dest)
  48.         (run "ADPRO2.D1:c/lz x ADPRO2.D1:Splitz&Joinz/S_J.lzh joinz joinz.info splitz splitz.info")
  49.     )
  50. )
  51.  
  52. (if (in todo 1)
  53.     (
  54.         (set @default-dest
  55.             (askdir
  56.                 (prompt "Please select the directory you wish to extract the PC-DOS version of Splitz and Joinz into."
  57.                 )
  58.                 (help @askdir-help)
  59.                 (default "SYS:")
  60.             )
  61.         )
  62.         (set @execute-dir @default-dest)
  63.         (working "Extracting PC-DOS Splitz and Joinz from Archive into " @default-dest)
  64.         (run "ADPRO2.D1:c/lz x ADPRO2.D1:Splitz&Joinz/S_J.lzh joinz.exe splitz.exe")
  65.     )
  66. )
  67.  
  68. (if (in todo 2)
  69.     (
  70.         (set @default-dest
  71.             (askdir
  72.                 (prompt "Please select the directory you wish to extract the PC-Windows version of Splitz and Joinz into."
  73.                 )
  74.                 (help @askdir-help)
  75.                 (default "SYS:")
  76.             )
  77.         )
  78.         (set @execute-dir @default-dest)
  79.         (working "Extracting PC-Windows Splitz and Joinz from Archive into " @default-dest)
  80.         (run "ADPRO2.D1:c/lz x ADPRO2.D1:Splitz&Joinz/S_J.lzh wjoinz.exe wininst.txt wsplitz.exe")
  81.     )
  82. )
  83.  
  84. (if (in todo 3)
  85.     (
  86.         (set @default-dest
  87.             (askdir
  88.                 (prompt "Please select the directory you wish to extract the Macintosh version of Splitz and Joinz into."
  89.                 )
  90.                 (help @askdir-help)
  91.                 (default "SYS:")
  92.             )
  93.         )
  94.         (set @execute-dir @default-dest)
  95.         (working "Extracting Macintosh Splitz and Joinz from Archive into " @default-dest)
  96.         (run "ADPRO2.D1:c/lz x ADPRO2.D1:Splitz&Joinz/S_J.lzh macsplit.bin macsplit.hqx macreadme.bin macreadme.hqx")
  97.     )
  98. )
  99.